<?php
if(!defined('InEmpireCMS'))
{
	exit();
}
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>空间动态</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <script language="javascript" type="text/javascript" src="/cms/em//skin/default/js/jquery-1.4.4.min.js"></script>
    <script language="javascript" type="text/javascript" src="/cms/em//skin/default/js/global.js"></script>
    <script language="javascript" type="text/javascript" src="/cms/em//skin/date/WdatePicker.js"></script>
<?php 
if($page_load_js && is_array($page_load_js)){
foreach($page_load_js as $jskey=>$jsval){
?>
 <script language="javascript" type="text/javascript" src="<?=$jsval?>"></script>
<?php

}
 }elseif(is_string($page_load_js)){?>
 <script language="javascript" type="text/javascript" src="<?=$page_load_js?>"></script>
<?php }?>

<?php 
if($page_load_css && is_array($page_load_css)){
foreach($page_load_css as $csskey=>$cssval){
?>
<link href="<?=$cssval?>" rel="stylesheet" type="text/css" />
<?php

}
 }elseif(is_string($page_load_css)){?>
 <link href="<?=$page_load_css?>" rel="stylesheet" type="text/css" />
<?php }?>
    <link href="/cms/em//skin/default/css/global.css" rel="stylesheet" type="text/css" />
    <link href="/cms/em//skin/default/css/space.css" rel="stylesheet" type="text/css" /></head>
    <link href="/cms/em//skin/default/css/d_global.css" rel="stylesheet" type="text/css" /></head>
<body>
<div id="header">
 <div id="menus">
     <ul>
      <li><a href="/cms/em/">首页</a></li>
      <li><a href="/cms/em/act/">最新活动</a></li>
      <li><a href="/cms/em/tribe/">野人部落</a></li>
      <li><a href="/cms/em/e/member/sp/">我的空间</a></li>
      <li><a href="#">线路攻略</a></li>
      <li><a href="#">资讯知识</a></li>
      <li><a href="#">户外装备</a></li>
</ul>

 </div>
</div>
<div id="main">
<div class="popup-box" style="z-index:5000;display:none;">
	<table style="border:1px solid #999999;" cellspacing="0" cellpadding="0">
		<tr style="border:1px solid #999999;padding:0px;background:#2E80B2;"><td style="padding:0px;">		
			<div class="popup-top">
				<a class="popup-close" href="javascript:void(0);" onclick="popup_close();">&nbsp;</a>
				<div class="popup-title">发布预测</div>
			</div>
			</td></tr>
		<tr><td>
			<div class="popup-body"></div>
			<div class="popup-loading">加载中...</div>
		</td></tr>
	</table>
</div>
 <div id="mainborder">
   <div id="leftcontent">
     <div class="content">
     <div class="member">
<?php

            if( $uid){
  $lguserid=$uid;
	           }else{
  $lguserid=intval(getcvar('mluserid'));//登陆用户ID

}
		  $lgusername=RepPostVar(getcvar('mlusername'));//登陆用户
		  $lggroupid=intval(getcvar('mlgroupid'));//会员组ID
	  if($lguserid)	//登陆会员显示菜单
		  {
$userinfo=getUserExtendInfo($lguserid);
$userpic=getUserHead($userinfo['userpic'],120,120);
	$headImg=$userpic;
?>

      <a href="#"><img src="<?=$headImg?>" alt="" title="" width="120"/></a>
<?php
 if($is_my){?>
      <p><a href="/cms/em/e/member/uphead/">更新头像</a><a href="/cms/em/e/member/EditInfo/">修改资料</a></p>
 <p><a href="/cms/em/e/member/msg/">消息管理</a><a href="/cms/em/e/member/EditInfo/EditSafeInfo.php">帐号设置</a></p>
<?php }else{?>
      <p><a href="#" class='send-msg'>发消息</a><a href="/cms/em/e/member/EditInfo/?uid=<?=$user_id?>">查看资料</a></p>
 <p><?php if($is_focus){?><a href="javascript:focusUser(this);" class='focus_user' isfocus='1' uid='<?= $user_id?>'>取消关注</a><?php }else{?>
<a href="javascript:focusUser(this);" isfocus='0' class='focus_user' uid='<?= $user_id?>'>关注TA</a>
<?php }?>
</p>
<?php }?>
          </div>
     <div class="body">
       <dl style="display:none;">
          <dt>我的个人秀</dt>

          <dd>
            <p>·<a href="#">我的相册</a>|<a href="#">我的游记</a> 
            <p>·<a href="#">我的足迹</a>|<a href="#">我的装备</a> 
            <p>·<a href="#">我的户外履历</a></p>
          </dd>

       </dl>
       <dl>
          <dt>我的互动</dt>
          <dd>
            <p>·<a href="/cms/em/e/member/userNews/list/?uid=<?=$user_id?>"><?php if($is_my){?>我<?php }else{?>TA<?php }?>的直播</a></p>
            <p>·<a href="/cms/em/e/active/list/?uid=<?=$user_id?>"><?php if($is_my){?>我<?php }else{?>TA<?php }?>的活动</a></p>

            <p  style="display:none;">·<a href="#" >我的话题</a></p>
            <p  style="display:none;">·<a href="#">我的投票</a> </p>
          </dd>
       </dl>
       <dl>
          <dt>我的驴友关系</dt>

          <dd>
       <p>·<a href="/cms/em//e/member/friend/?uid=<?=$user_id?>"><?php if($is_my){?>我<?php }else{?>TA<?php }?>的好友</a></p>
            <p>·<a href="/cms/em/e/member/followMe/?uid=<?=$user_id?>"><?php if($is_my){?>我<?php }else{?>TA<?php }?>的粉丝</a></p>
            <p>·<a href="/cms/em/e/member/followList"><?php if($is_my){?>我<?php }else{?>TA<?php }?>关注的</a></p>
            <p  style="display:none;">·<a href="#"><?php if($is_my){?>我<?php }else{?>TA<?php }?>的驴友圈</a></p>
          </dd>
       </dl>

       <dl  style="display:none;">
          <dt>我的收藏</dt>
          <dd>
            <p>·<a href="#">我的照片珍藏集</a></p>
            <p>·<a href="/cms/em/e/member/fava/">我的收藏</a></p>
          </dd>

       </dl>
<?php }else{?>
<style>
#leftcontent{margin-top:120px;}
</style>
<dt>请登录</dt>
          <dd>
            <p>·<a href="#">登录</a></p>
            <p>·<a href="#">注册</a></p>
          </dd>


<?php }?>
     </div>
     <div class="bottom"></div>
     </div>
   </div>
 <div class="dcontent">
     